@import 'root-vars';
@import 'shared';

@import 'loader';
@import 'ui-root';
@import 'exited';
@import 'profile';
@import 'entry';
@import 'audio';
@import 'info-dialog';

body {
  background-color: var(--loading-background-color);
}

body.vr-mode-stretch {
  a-scene {
    .a-canvas {
      width: 200% !important;
    }
  }
}

.a-enter-vr, .a-orientation-modal {
  display: none;
}

.grab-cursor {
  cursor: grab;
}

.no-cursor {
  cursor: none;
}

.webxr-realities, .webxr-sessions {
  @extend %unselectable
}

// HACK: Deals with a performance regression in Chrome 75 where, once
// enough elements are on the page, the Chrome "reader" functionality continually
// scanning the page on mouse drag kills performance.

a-entity {
  display: none;
}

.svg-icon {
  overflow: visible;
  display: inline-block;
  font-size: inherit;
  vertical-align: -0.125em;
  height: 1em;
}
